<template>
	<div class="app-container home">
		<el-button @click="v1 = true">按钮</el-button>
		<DrawerComp :visible="v1" @cancel="v1 = false">
			<DrawerComp :visible="v2" size="600" @cancel="v2 = false" />
			<el-button @click="v2 = true">打开子抽屉</el-button>
		</DrawerComp>
	</div>
</template>

<script setup name="Index">
import DrawerComp from "@/components/DrawerComp/index.vue";
const v1 = ref(false);
const v2 = ref(false);
</script>

<style scoped lang="scss"></style>
